package com.jhd.jiangxi.vo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import lombok.Data;

@Data
public class PurchaseReceiptDtlVo implements Serializable {
    private String sourceId;
    // 采购收货主表编号
    private String purchaseReceiptMstId;
    // 采购收货单号
    private String orderNo;
    // 疫苗编号
    private String vaccineId;
    // 疫苗名称
    private String vaccineName;
    private String contractNo;//“0006”
    private String isThirdParty;//“1”
    private int pkgAmount;
    private int inventoryNum;
    private String reason;//报废原因
    private String otherReason;//报废原因
    private String recoveryTime;//
    private String destructTime;//
    private String destructType;//
    private String destructDeptName;//




    public String getStorageId() {
        return storageId;
    }

    // 疫苗类别 1-免疫规划疫苗 2-非免疫规划疫苗 3-配套品
    private String category;
    // 批号编号
    private String vaccineLotsId;
    // 批号
    private String lotNumber;//201906a032
    // 全局厂家编号
    private String manufacturerId;//44681D35A03A11E6A9F000163E000137
    // 生产厂家名称
    private String manufacturerName;//"成都生物"
    // 疫苗规格
    private String vaccineSpec;
    // 疫苗剂量
    private String vaccineDose;
    // 单价
    private int unitPrice;
    //服务费
    private int servicePrice;
    // 数量
    private String quantity;
    // 金额
    private String amount;
    // 储位
    private String storage;
    private String storageId;
    // 备注
    private String remark;
    //失效时间
    private String expiryDate;
    //转换率
    private double traceformRate = 1.0f;

    private List<Storage> storageInfoList;//在扫单入库时,传递过来的当前库存的信息

    private String certificateUrl;//批签发文件路径，多个的话以逗号分开

    private List<String> electCodeList = new ArrayList<String>();

    private ElectCodePackageVoList electCodePackageVoList;//电子监管码

    private double scanedQty = 0;

    private String propertyId;//"11ea0ff0868c00e04c3601ea77da8a4e"
    private List<ElectCodePackageSave> electCodePackageSaveList = new ArrayList<ElectCodePackageSave>();

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getPurchaseReceiptMstId() {
        return purchaseReceiptMstId;
    }

    public void setPurchaseReceiptMstId(String purchaseReceiptMstId) {
        this.purchaseReceiptMstId = purchaseReceiptMstId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getVaccineId() {
        return vaccineId;
    }

    public void setVaccineId(String vaccineId) {
        this.vaccineId = vaccineId;
    }

    public String getVaccineName() {
        return vaccineName;
    }

    public void setVaccineName(String vaccineName) {
        this.vaccineName = vaccineName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getVaccineLotsId() {
        return vaccineLotsId;
    }

    public void setVaccineLotsId(String vaccineLotsId) {
        this.vaccineLotsId = vaccineLotsId;
    }

    public String getLotNumber() {
        return lotNumber;
    }

    public void setLotNumber(String lotNumber) {
        this.lotNumber = lotNumber;
    }

    public String getManufacturerId() {
        return manufacturerId;
    }

    public void setManufacturerId(String manufacturerId) {
        this.manufacturerId = manufacturerId;
    }

    public String getManufacturerName() {
        return manufacturerName;
    }

    public void setManufacturerName(String manufacturerName) {
        this.manufacturerName = manufacturerName;
    }

    public String getVaccineSpec() {
        return vaccineSpec;
    }

    public void setVaccineSpec(String vaccineSpec) {
        this.vaccineSpec = vaccineSpec;
    }

    public String getVaccineDose() {
        return vaccineDose;
    }

    public void setVaccineDose(String vaccineDose) {
        this.vaccineDose = vaccineDose;
    }

    public int getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(int unitPrice) {
        this.unitPrice = unitPrice;
    }

    public int getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(int servicePrice) {
        this.servicePrice = servicePrice;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public double getTraceformRate() {
        return traceformRate;
    }

    public void setTraceformRate(double traceformRate) {
        this.traceformRate = traceformRate;
    }

    public List<Storage> getStorageInfoList() {
        return storageInfoList;
    }

    public void setStorageInfoList(List<Storage> storageInfoList) {
        this.storageInfoList = storageInfoList;
    }

    public String getCertificateUrl() {
        return certificateUrl;
    }

    public void setCertificateUrl(String certificateUrl) {
        this.certificateUrl = certificateUrl;
    }

    public List<String> getElectCodeList() {
        return electCodeList;
    }

    public void setElectCodeList(List<String> electCodeList) {
        this.electCodeList = electCodeList;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }

    public double getScanedQty() {
        return scanedQty;
    }

    public void setScanedQty(double scanedQty) {
        this.scanedQty = scanedQty;
    }
    public List<ElectCodePackageSave> getElectCodePackageSaveList() {
        return electCodePackageSaveList;
    }

    public void setElectCodePackageSaveList(List<ElectCodePackageSave> electCodePackageSaveList) {
        this.electCodePackageSaveList = electCodePackageSaveList;
    }

    /**
     * 设置
     * @param storageId
     */
    public void setStorageId(String storageId) {
        this.storageId = storageId;
    }




    /**
     * 获取
     * @return electCodePackageVoList
     */
    public ElectCodePackageVoList getElectCodePackageVoList() {
        return electCodePackageVoList;
    }

    /**
     * 设置
     * @param electCodePackageVoList
     */
    public void setElectCodePackageVoList(ElectCodePackageVoList electCodePackageVoList) {
        this.electCodePackageVoList = electCodePackageVoList;
    }


    public String toString() {
        return "PurchaseReceiptDtlVo{sourceId = " + sourceId + ", purchaseReceiptMstId = " + purchaseReceiptMstId + ", orderNo = " + orderNo + ", vaccineId = " + vaccineId + ", vaccineName = " + vaccineName + ", category = " + category + ", vaccineLotsId = " + vaccineLotsId + ", lotNumber = " + lotNumber + ", manufacturerId = " + manufacturerId + ", manufacturerName = " + manufacturerName + ", vaccineSpec = " + vaccineSpec + ", vaccineDose = " + vaccineDose + ", unitPrice = " + unitPrice + ", servicePrice = " + servicePrice + ", quantity = " + quantity + ", amount = " + amount + ", storage = " + storage + ", storageId = " + storageId + ", remark = " + remark + ", expiryDate = " + expiryDate + ", traceformRate = " + traceformRate + ", storageInfoList = " + storageInfoList + ", certificateUrl = " + certificateUrl + ", electCodeList = " + electCodeList + ", electCodePackageVoList = " + electCodePackageVoList + ", scanedQty = " + scanedQty + ", propertyId = " + propertyId + ", electCodePackageSaveList = " + electCodePackageSaveList + "}";
    }
}
